SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

create procedure dbo.DnnProduct_GetDatabaseVersion

as

select Major,
       Minor,
       Build
from   dbo.DnnProduct_Version 
where  VersionId = ( select max(VersionId) from dbo.DnnProduct_Version )









GO
